<?php
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn'   => 'mysql:host=ff-mysql-01.mysql.rds.aliyuncs.com;dbname=funfind',
            'username' => 'root',
            'password' => '23mLyV6xkhLbUsKb',
            'charset' => 'utf8',
        ],
        'db_funfind' => [
            'class' => 'yii\db\Connection',
            'dsn'   => 'mysql:host=ff-mysql-01.mysql.rds.aliyuncs.com;dbname=ffdb',
            'username' => 'root',
            'password' => '23mLyV6xkhLbUsKb',
            'charset' => 'utf8',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            'useFileTransport' => true,
        ],
    ],
];